﻿<Window x:Class="WaterTrans.TypeLoader.Demo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <StackPanel>
            <StackPanel Orientation="Horizontal">
                <CheckBox x:Name="LigatureCheck" Content="Ligature" FontFamily="Courier New" FontSize="14" Margin="5" Click="EnglishCheckBox_Click"></CheckBox>
                <CheckBox x:Name="KerningCheck" Content="Kerning" FontFamily="Courier New" FontSize="14" Margin="5" Click="EnglishCheckBox_Click"></CheckBox>
                <ComboBox x:Name="EnglishFontList" FontFamily="Courier New" FontSize="15" Margin="5" SelectedValuePath="Value" DisplayMemberPath="Key" SelectionChanged="EnglishFontList_SelectionChanged"></ComboBox>
            </StackPanel>
            <TextBox x:Name="EnglishDemoText" AcceptsReturn="True" TextWrapping="Wrap" Height="60" TextChanged="EnglishDemoText_TextChanged"></TextBox>
            <Canvas x:Name="EnglishDemoView" Height="60"></Canvas>
            <StackPanel Orientation="Horizontal">
                <CheckBox x:Name="VerticalCheck" Content="Vertical" FontFamily="Courier New" FontSize="14" Margin="5" Click="JapaneseCheckBox_Click"></CheckBox>
                <CheckBox x:Name="AdvancedVerticalCheck" Content="Vertical2" FontFamily="Courier New" FontSize="14" Margin="5" Click="JapaneseCheckBox_Click"></CheckBox>
                <CheckBox x:Name="HalfCheck" Content="Half" FontFamily="Courier New" FontSize="14" Margin="5" Click="JapaneseCheckBox_Click"></CheckBox>
                <CheckBox x:Name="ProportionalCheck" Content="Proportional" FontFamily="Courier New" FontSize="14" Margin="5" Click="JapaneseCheckBox_Click"></CheckBox>
                <ComboBox x:Name="JapaneseFontList" FontFamily="Courier New" FontSize="15" Margin="5" SelectedValuePath="Value" DisplayMemberPath="Key" SelectionChanged="JapaneseFontList_SelectionChanged"></ComboBox>
            </StackPanel>
            <TextBox x:Name="JapaneseDemoText" AcceptsReturn="True" TextWrapping="Wrap" Height="60" TextChanged="JapaneseDemoText_TextChanged"></TextBox>
            <Canvas x:Name="JapaneseDemoView" Height="300"></Canvas>
        </StackPanel>
    </Grid>
</Window>
